package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Description:资产分类实体信息表
 * Author: ZLZ
 * Date: 2025/2/26
 */
@Data
public class SysAssetCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private Long categoryId;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String categoryName;

    /**
     * 父节点
     */
    @Excel(name = "父节点")
    private Long parentId;

    /**
     * 子节点
     */
    private List<SysAssetCategory> children = new ArrayList<>();
}
